package com.chushouya.order.dto.api.clerk.action;

import com.chushouya.order.constants.ClerkOrderActionEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("业务员上门确认")
@Data
public class ClerkVisitAction extends ClerkBaseAction {

    public ClerkVisitAction() {
        super.setOrderAction(ClerkOrderActionEnum.VISIT);
    }

    @ApiModelProperty("订单ID")
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

}
